---
title: InMemoryDb
---

`InMemoryDb` is a class that implements the Db interface using an in-memory database. It provides lightweight, in-memory storage for agent/team sessions.

<Snippet file="db-in-memory-params.mdx" />
<Snippet file="db-new-bulk-methods.mdx" />
